<template>
	<view class="mask">
		<view class="auth-card">
			<uni-icons
				type="closeempty"
				size="30"
				style="position: relative; left: 215px; top: -5px"
				@tap="onTap"
			></uni-icons>
			<view class="box">
				<view class="title">扫码联系我们为您开通选品权限</view>
				<image
					src="./../../../static/common/qrcode.png"
					style="width: 260rpx; height: 260rpx"
				></image>
			</view>
		</view>
	</view>
</template>

<script setup>
	import $store from '@/sheep/store';

	const onTap = () => {
		// 关闭弹窗
		$store('user').setAuthModal(false);
	};
</script>

<style lang="scss" scoped>
	.mask {
		height: 100vh;
		width: 100%;
		opacity: 1;
		position: fixed;
		z-index: 2;
		inset: 0rpx;
		background-color: rgba(0, 0, 0, 0.4);
		transition: opacity 300ms, -webkit-transform 300ms, transform 500ms;
		transform-origin: 50% 50%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		.auth-card {
			background-color: #fff;
			border-radius: 10rpx;
			padding: 20rpx;
			box-sizing: border-box;
			width: 520rpx;
			height: 600rpx;
			align-items: center;
			.box {
				display: flex;
				flex-direction: column;
				align-items: center;
				.title {
					margin: 40rpx 0rpx;
				}
			}
		}
	}
</style>
